package com.service.approval.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import com.service.approval.valuedata.DistributerProduct;


@FeignClient(value="distributer-product-server")
public interface ProductService {

	@RequestMapping(value="/product/banlance/port",method=RequestMethod.GET)
	public String productBanlanceTest();
	
	@RequestMapping(value="/product/{jbProductCode}",method=RequestMethod.GET)
	public DistributerProduct findDistributerProductByJbProductCode(@RequestParam("jbProductCode") String jbProductCode);
}
